package com.xiaoshuidi.cloud.module.finance.controller.admin.finance.vo.account;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 账户创建 Request VO")
@EqualsAndHashCode
@Data
public class FinanceAccountCreateReqVO {
    /**
     * 客户id
     */
    @Schema(description = "客户id")
    private String custId;
    /**
     * 客户类型
     */
    @Schema(description = "客户类型")
    private String custType;
    /**
     * 充值金额
     */
    @Schema(description = "充值金额")
    private BigDecimal rechargeAmount;
    /**
     * 实际交易日期
     */
    @Schema(description = "实际交易日期")
    private LocalDateTime tradeDate;
    /**
     * 付款名
     */
    @Schema(description = "付款名")
    private String accountName;
    /**
     * 付款银行
     */
    @Schema(description = "付款银行")
    private String accountBank;
    /**
     * 付款账号
     */
    @Schema(description = "付款账号")
    private String accountNo;
    /**
     * 充值备注
     */
    @Schema(description = "充值备注")
    private String remark;
    /**
     * 附件
     */
    @Schema(description = "附件")
    private String attachment;
    /**
     * @see com.xiaoshuidi.cloud.module.finance.enums.finance.AccountTradeTypeEnum
     */
    @Schema(description = "ONLINE_RECHARGE(\"线上充值\"), OFFLINE_RECHARGE(\"线下充值\"), DEDUCT(\"扣费\");")
    private String tradeType;
    /**
     * 经办人
     */
    @Schema(description = "经办人")
    private String operator;
}
